package com.ljf.app1;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import javax.servlet.*;
import java.io.IOException;

/**
 * 说明：
 *
 * @Auther: lijinfeng
 * @Date: 2024/4/23
 */
@Component
public class MyFilter implements Filter {
    private static final Logger log = LoggerFactory.getLogger(MyFilter.class);

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {

        log.info("MyFilter执行了------");


        // TODO 当前项目配置



        filterChain.doFilter(servletRequest,servletResponse);
    }



}
